import request from '@/utils/request'

export function getInfo(data) {
  return request({
    url: '/admin/estate/info',
    method: 'post',
    data
  })
}

export function getList(data) {
  return request({
    url: '/admin/estate/list',
    method: 'post',
    data
  })
}

export function add(data) {
  return request({
    url: '/admin/estate/add',
    method: 'post',
    data
  })
}

export function del(data) {
  return request({
    url: '/admin/estate/del',
    method: 'post',
    data
  })
}

export function update(data) {
  return request({
    url: '/admin/estate/update',
    method: 'post',
    data
  })
}

